package com.ran.entity;

/**
 *员工实体类
 */
public class employee {
    private int empid;
    private String ename;
    private int egendar;
    private int depid;
    private String epsd;
    private String dname;

    public employee() {
    }

    public employee(String ename, String epsd) {
        this.ename = ename;
        this.epsd = epsd;
    }

    public employee(int empid, String ename, String dname) {
        this.empid = empid;
        this.ename = ename;
        this.dname = dname;
    }

    public employee(String ename, int egendar, int depid) {
        this.ename = ename;
        this.egendar = egendar;
        this.depid = depid;
    }

    public employee(int empid, String ename, int egendar, int depid) {
        this.empid = empid;
        this.ename = ename;
        this.egendar = egendar;
        this.depid = depid;
    }

    public int getEmpid() {
        return empid;
    }

    public void setEmpid(int empid) {
        this.empid = empid;
    }

    public String getEname() {
        return ename;
    }

    public void setEname(String ename) {
        this.ename = ename;
    }

    public int getEgendar() {
        return egendar;
    }

    public void setEgendar(int egendar) {
        this.egendar = egendar;
    }

    public int getDepid() {
        return depid;
    }

    public void setDepid(int depid) {
        this.depid = depid;
    }

    public String getEpsd() {
        return epsd;
    }

    public void setEpsd(String epsd) {
        this.epsd = epsd;
    }

    public String getDname() {
        return dname;
    }

    public void setDname(String dname) {
        this.dname = dname;
    }

    public String toStringsearch() {
        return "employee:{" +
                "ename='" + ename + '\'' +
                ", egendar=" + egendar +
                ", depid=" + depid +
                '}';
    }
}
